cd maersk-4pl 
git pull origin master
echo '======================='

echo '请选择你要打包的模块:'
echo '1.gateway'
echo '2.newdragon'
echo '3.task'

read -p "What module do your want to package: " appname

if [ $appname == 1 ]
then
	echo "打包gateway"
	mvn clean package -Dmaven.test.skip=true -pl maersk-gateway -am
elif [ $appname == 2 ]
then
	echo "打包newdragon"
	mvn clean package -Dmaven.test.skip=true -pl maersk-newdragon -am
elif [ $appname == 3 ]
then
	echo "打包task"
	mvn clean package -Dmaven.test.skip=true -pl maersk-task -am
fi